<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<meta http-equiv="content-language" content="en-us" />
<meta http-equiv="imagetoolbar" content="false" />
<meta http-equiv="cache-control" content="no-cache" />
<meta name="robots" content="index,follow" />
<meta name="description" content="Description" />
<meta name="keywords" content="Keywords" />
<meta name="MSSmartTagsPreventParsing" content="true" />

<title><?php echo $website_name?></title>

<link rel="shortcut icon" href="<?php echo $BASEURL?>images/favicon.ico">
<link rel="stylesheet" href="<?=$BASEURL?>css/local.css" type="text/css" />
<link rel="stylesheet" href="<?=$BASEURL?>css/style.css" type="text/css" />
<link rel="stylesheet" href="<?=$BASEURL?>css/dd.css" type="text/css" />
<link rel="stylesheet" href="<?=$BASEURL?>css/uploadify.css" type="text/css" />

<script src="<?=$BASEURL?>js/flowplayer-3.1.4.min.js"></script>
<script src="<?=$BASEURL?>js/jquery.js"></script>
<script src="<?=$BASEURL?>js/local.js"></script>
<script src="<?=$BASEURL?>js/jquery.dd.js"></script>
<script src="<?=$BASEURL?>js/jquery.uploadify.js"></script>
<script src="<?=$BASEURL?>js/swfobject.js"></script>

</head>
<body>

<script>
$(document).ready(function() {
	$('#loading').fadeOut('500');

	function change_language(){
	    $.post("<?php echo $BASEURL?>ajax/change_language", { 'new_language': $('#language_select').val() },
	    function(data){
	        if(data.status == "true"){
	            location.reload();
	        }else{
	            alert("Error Loading Selected Language");
	        }
	    }, "json");
	}

	
});

</script>

<div id="site_wrapper">
    <!-- The loading div -->
	<div id="loading" style="position:absolute; top:8px; left:400px; padding:5px; font-weight:bold; width:150px; z-index:99999; background:white; border:1px dashed lightgrey;">
		<img src="<?php echo $BASEURL?>images/loading.gif" style="width:16px; height:16px;" />
		<div id="loading_text" style="position:absolute; top:5px; left:25px; color:black;">Loading...</div>
	</div>